#version 110

varying vec4 couleur;
varying vec3 N,L,V;

void main(){

     float spec, coef;
    
     V = vec3(-gl_ModelViewMatrix*gl_Vertex);    
     N=gl_NormalMatrix*gl_Normal;
     L=gl_LightSource[0].position.xyz;
     
     V=normalize(V);
     L=normalize(L);
     N=normalize(N);
     
     gl_Position = gl_ProjectionMatrix*gl_ModelViewMatrix*gl_Vertex;
}
